package com.company.creature;

import com.company.transport.Transport;

public class Person {
    private String id;
    private String p_name;
    private String p_age;
    private String p_sex;

    public void driveTransport(Transport transport){
        System.out.println(this.id+" driving "+ transport.getId());
    }

    public Person() {
    }

    public Person(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getP_name() {
        return p_name;
    }

    public void setP_name(String p_name) {
        this.p_name = p_name;
    }

    public String getP_age() {
        return p_age;
    }

    public void setP_age(String p_age) {
        this.p_age = p_age;
    }

    public String getP_sex() {
        return p_sex;
    }

    public void setP_sex(String p_sex) {
        this.p_sex = p_sex;
    }
}
